<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Control Webpages versi 2</title>

    <!-- Bootstrap core CSS -->
    <link href="<?php echo base_url(); ?>lib/backend/css/bootstrap.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>lib/backend/css/datepicker.css" rel="stylesheet">

    <!-- Add custom CSS here -->
    <link href="<?php echo base_url(); ?>lib/backend/css/sb-admin.css" rel="stylesheet">
    <link rel="stylesheet" href="<?php echo base_url(); ?>lib/backend/font-awesome/css/font-awesome.min.css">
	<link rel="stylesheet" href="http://cdn.oesmith.co.uk/morris-0.4.3.min.css">
	
	<script type="text/javascript" src="<?php echo base_url(); ?>lib/backend/plugin/ckeditor/ckeditor.js"></script>
  </head>
  <body>

    <div id="wrapper">

      <!-- Sidebar -->
      <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="<?php echo site_url()?>home">Control Webpages</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse navbar-ex1-collapse">
          <ul class="nav navbar-nav side-nav">
				<li <?php if($active == "dashboard") echo 'class="active"'?> ><a href="<?php echo site_url()?>home"><i class="icon-dashboard"></i> Dashboard</a></li>
				<li <?php if($active == "formulir") echo 'class="active"'?> ><a href="<?php echo site_url()?>formulir"><i class="icon-list-alt"></i> Pendaftaran</a></li>
				<!-- Untuk Settingan Admin code
				<li <?php if($active == "setmenu") echo 'class="active"' ?>><a href="<?php echo site_url()?>setmenu"><i class="icon-edit"></i> Menu</a></li>
				<li <?php if($active == "submenu") echo 'class="active"' ?>><a href="<?php echo site_url()?>setsubmenu"><i class="icon-briefcase"></i> Submenu</a></li>
				-->
				<li <?php if($active == "album") echo 'class="active"' ?>><a href="<?php echo site_url()?>album"><i class="icon-picture"></i> Album Content</a></li>
				<li <?php if($active == "description") echo 'class="active"' ?>><a href="<?php echo site_url()?>description"><i class="icon-bar-chart"></i> Description Content</a></li>
				<li <?php if($active == "listcontent") echo 'class="active"' ?>><a href="<?php echo site_url()?>listcontent"><i class="icon-th-list"></i> List Content</a></li>
				<li <?php if($active == "product") echo 'class="active"' ?>><a href="<?php echo site_url()?>product"><i class="icon-table"></i> Product Content</a></li>
				<li <?php if($active == "location") echo 'class="active"' ?>><a href="<?php echo site_url()?>location"><i class="icon-fullscreen"></i> Location</a></li>
				<!-- Untuk Settingan Admin code
				<li <?php if($active == "opinion") echo 'class="active"' ?>><a href="<?php echo site_url()?>opinion"><i class="icon-thumbs-up"></i> Opinion</a></li>
				-->
				<li <?php if($active == "testimonial") echo 'class="active"' ?>><a href="<?php echo site_url()?>testimonial"><i class="icon-book"></i> Testimonial</a></li>
				<li <?php if($active == "pages") echo 'class="active"' ?>><a href="<?php echo site_url()?>pages"><i class="icon-wrench"></i> Setup Pages</a></li>
				<li <?php if($active == "usermanagement") echo 'class="active"' ?>><a href="<?php echo site_url()?>usermanagement"><i class="icon-user"></i> User Management</a></li>
          </ul>

          <ul class="nav navbar-nav navbar-right navbar-user">
            <li class="dropdown user-dropdown">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user"></i> <?php echo $this->session->userdata('username');?> <b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="<?php echo site_url()?>login/logout"><i class="icon-power-off"></i> Log Out</a></li>
              </ul>
            </li>
          </ul>
        </div><!-- /.navbar-collapse -->
      </nav>

      <div id="page-wrapper">

        <div class="row">
          <div class="col-lg-12">